package com.fengba.nanzhi.model;

import com.j256.ormlite.field.DataType;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

/**
 * Created by duan on 2018/4/16.
 */
@DatabaseTable(tableName = "user_info")
public class User {
    @DatabaseField(dataType = DataType.INTEGER, generatedId = true)
    private int id;//主键
    @DatabaseField(columnName = "user_id", dataType = DataType.INTEGER)
    private int user_id;
    @DatabaseField(columnName = "name", dataType = DataType.STRING)
    private String account;
    @DatabaseField(columnName = "password", dataType = DataType.STRING)
    private String password;
    @DatabaseField(columnName = "pay_password", dataType = DataType.STRING)
    private String pay_password;
    @DatabaseField(columnName = "parent_user_id", dataType = DataType.STRING)
    private String parent_user_id;
    @DatabaseField(columnName = "parent_invite_code", dataType = DataType.STRING)
    private String parent_invite_code;
    @DatabaseField(columnName = "gold_pool_id", dataType = DataType.STRING)
    private String gold_pool_id;
    @DatabaseField(columnName = "invite_code", dataType = DataType.STRING)
    private String invite_code;
    @DatabaseField(columnName = "username", dataType = DataType.STRING)
    private String username;
    @DatabaseField(columnName = "headimg", dataType = DataType.STRING)
    private String headimg;
    @DatabaseField(columnName = "realname", dataType = DataType.STRING)
    private String realname;
    @DatabaseField(columnName = "idnumber", dataType = DataType.STRING)
    private String idnumber;
    @DatabaseField(columnName = "idnumber_zm", dataType = DataType.STRING)
    private String idnumber_zm;
    @DatabaseField(columnName = "idnumber_fm", dataType = DataType.STRING)
    private String idnumber_fm;
    @DatabaseField(columnName = "cardnumber", dataType = DataType.STRING)
    private String cardnumber;
    @DatabaseField(columnName = "cardnumber_zm", dataType = DataType.STRING)
    private String cardnumber_zm;
    @DatabaseField(columnName = "certified_status", dataType = DataType.STRING)
    private String certified_status;
    @DatabaseField(columnName = "gesture_lock", dataType = DataType.STRING)
    private String gesture_lock;
    @DatabaseField(columnName = "free_credits", dataType = DataType.STRING)
    private String free_credits;
    @DatabaseField(columnName = "paycheck_credits", dataType = DataType.STRING)
    private String paycheck_credits;
    @DatabaseField(columnName = "level_id", dataType = DataType.STRING)
    private String level_id;
    @DatabaseField(columnName = "level_name", dataType = DataType.STRING)
    private String level_name;
    @DatabaseField(columnName = "money", dataType = DataType.STRING)
    private String money;
    @DatabaseField(columnName = "cash_money", dataType = DataType.STRING)
    private String cash_money;
    @DatabaseField(columnName = "frozen_money", dataType = DataType.STRING)
    private String frozen_money;
    @DatabaseField(columnName = "paycheck_money", dataType = DataType.STRING)
    private String paycheck_money;
    @DatabaseField(columnName = "share_money", dataType = DataType.STRING)
    private String share_money;
    @DatabaseField(columnName = "privacy", dataType = DataType.STRING)
    private String privacy;
    @DatabaseField(columnName = "wechat", dataType = DataType.STRING)
    private String wechat;
    @DatabaseField(columnName = "wechat_qr_code", dataType = DataType.STRING)
    private String wechat_qr_code;
    @DatabaseField(columnName = "gamecoin", dataType = DataType.STRING)
    private String gamecoin;
    @DatabaseField(columnName = "parent_account", dataType = DataType.STRING)
    private String parent_account;
    @DatabaseField(columnName = "wxchat_kf", dataType = DataType.STRING)
    private String wxchat_kf;
    @DatabaseField(columnName = "wxcontact_kf", dataType = DataType.STRING)
    private String wxcontact_kf;
    @DatabaseField(columnName = "account_kf", dataType = DataType.STRING)
    private String account_kf;

    public User(){

    }

//    public User(int id, String account, String password) {
//        this.id = id;
//        this.account = account;
//        this.password = password;
//    }


    public int getId() {
        return id;
    }

    public int getUser_id() {
        return user_id;
    }

    public String getAccount() {
        return account;
    }

    public String getPassword() {
        return password;
    }

    public String getPay_password() {
        return pay_password;
    }

    public String getParent_user_id() {
        return parent_user_id;
    }

    public String getParent_invite_code() {
        return parent_invite_code;
    }

    public String getGold_pool_id() {
        return gold_pool_id;
    }

    public String getInvite_code() {
        return invite_code;
    }

    public String getUsername() {
        return username;
    }

    public String getHeadimg() {
        return headimg;
    }

    public String getRealname() {
        return realname;
    }

    public String getIdnumber() {
        return idnumber;
    }

    public String getIdnumber_zm() {
        return idnumber_zm;
    }

    public String getIdnumber_fm() {
        return idnumber_fm;
    }

    public String getCardnumber() {
        return cardnumber;
    }

    public String getCardnumber_zm() {
        return cardnumber_zm;
    }

    public String getCertified_status() {
        return certified_status;
    }

    public String getGesture_lock() {
        return gesture_lock;
    }

    public String getFree_credits() {
        return free_credits;
    }

    public String getPaycheck_credits() {
        return paycheck_credits;
    }

    public String getLevel_id() {
        return level_id;
    }

    public String getLevel_name() {
        return level_name;
    }

    public String getMoney() {
        return money;
    }

    public String getCash_money() {
        return cash_money;
    }

    public String getFrozen_money() {
        return frozen_money;
    }

    public String getPaycheck_money() {
        return paycheck_money;
    }

    public String getShare_money() {
        return share_money;
    }

    public String getPrivacy() {
        return privacy;
    }

    public String getWechat() {
        return wechat;
    }

    public String getWechat_qr_code() {
        return wechat_qr_code;
    }

    public String getGamecoin() {
        return gamecoin;
    }

    public String getParent_account() {
        return parent_account;
    }

    public String getWxchat_kf() {
        return wxchat_kf;
    }

    public String getWxcontact_kf() {
        return wxcontact_kf;
    }

    public String getAccount_kf() {
        return account_kf;
    }

    ///////set

    public void setId(int id) {
        this.id = id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setPay_password(String pay_password) {
        this.pay_password = pay_password;
    }

    public void setParent_user_id(String parent_user_id) {
        this.parent_user_id = parent_user_id;
    }

    public void setParent_invite_code(String parent_invite_code) {
        this.parent_invite_code = parent_invite_code;
    }

    public void setGold_pool_id(String gold_pool_id) {
        this.gold_pool_id = gold_pool_id;
    }

    public void setInvite_code(String invite_code) {
        this.invite_code = invite_code;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public void setHeadimg(String headimg) {
        this.headimg = headimg;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public void setIdnumber(String idnumber) {
        this.idnumber = idnumber;
    }

    public void setIdnumber_zm(String idnumber_zm) {
        this.idnumber_zm = idnumber_zm;
    }

    public void setIdnumber_fm(String idnumber_fm) {
        this.idnumber_fm = idnumber_fm;
    }

    public void setCardnumber(String cardnumber) {
        this.cardnumber = cardnumber;
    }

    public void setCardnumber_zm(String cardnumber_zm) {
        this.cardnumber_zm = cardnumber_zm;
    }

    public void setCertified_status(String certified_status) {
        this.certified_status = certified_status;
    }

    public void setGesture_lock(String gesture_lock) {
        this.gesture_lock = gesture_lock;
    }

    public void setFree_credits(String free_credits) {
        this.free_credits = free_credits;
    }

    public void setPaycheck_credits(String paycheck_credits) {
        this.paycheck_credits = paycheck_credits;
    }

    public void setLevel_id(String level_id) {
        this.level_id = level_id;
    }

    public void setLevel_name(String level_name) {
        this.level_name = level_name;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    public void setCash_money(String cash_money) {
        this.cash_money = cash_money;
    }

    public void setFrozen_money(String frozen_money) {
        this.frozen_money = frozen_money;
    }

    public void setPaycheck_money(String paycheck_money) {
        this.paycheck_money = paycheck_money;
    }

    public void setShare_money(String share_money) {
        this.share_money = share_money;
    }

    public void setPrivacy(String privacy) {
        this.privacy = privacy;
    }

    public void setWechat(String wechat) {
        this.wechat = wechat;
    }

    public void setWechat_qr_code(String wechat_qr_code) {
        this.wechat_qr_code = wechat_qr_code;
    }

    public void setGamecoin(String gamecoin) {
        this.gamecoin = gamecoin;
    }

    public void setParent_account(String parent_account) {
        this.parent_account = parent_account;
    }

    public void setWxchat_kf(String wxchat_kf) {
        this.wxchat_kf = wxchat_kf;
    }

    public void setWxcontact_kf(String wxcontact_kf) {
        this.wxcontact_kf = wxcontact_kf;
    }

    public void setAccount_kf(String account_kf) {
        this.account_kf = account_kf;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", user_id=" + user_id +
                ", account='" + account + '\'' +
                ", password='" + password + '\'' +
                ", pay_password='" + pay_password + '\'' +
                ", parent_user_id='" + parent_user_id + '\'' +
                ", parent_invite_code='" + parent_invite_code + '\'' +
                ", gold_pool_id='" + gold_pool_id + '\'' +
                ", invite_code='" + invite_code + '\'' +
                ", username='" + username + '\'' +
                ", headimg='" + headimg + '\'' +
                ", realname='" + realname + '\'' +
                ", idnumber='" + idnumber + '\'' +
                ", idnumber_zm='" + idnumber_zm + '\'' +
                ", idnumber_fm='" + idnumber_fm + '\'' +
                ", cardnumber='" + cardnumber + '\'' +
                ", cardnumber_zm='" + cardnumber_zm + '\'' +
                ", certified_status='" + certified_status + '\'' +
                ", gesture_lock='" + gesture_lock + '\'' +
                ", free_credits='" + free_credits + '\'' +
                ", paycheck_credits='" + paycheck_credits + '\'' +
                ", level_id='" + level_id + '\'' +
                ", level_name='" + level_name + '\'' +
                ", money='" + money + '\'' +
                ", cash_money='" + cash_money + '\'' +
                ", frozen_money='" + frozen_money + '\'' +
                ", paycheck_money='" + paycheck_money + '\'' +
                ", share_money='" + share_money + '\'' +
                ", privacy='" + privacy + '\'' +
                ", wechat='" + wechat + '\'' +
                ", wechat_qr_code='" + wechat_qr_code + '\'' +
                ", gamecoin='" + gamecoin + '\'' +
                ", parent_account='" + parent_account + '\'' +
                ", wxchat_kf='" + wxchat_kf + '\'' +
                ", wxcontact_kf='" + wxcontact_kf + '\'' +
                ", account_kf='" + account_kf + '\'' +
                '}';
    }
}
